﻿using System;
using YaAppoint.ExamAppies;

namespace YaAppoint.Appointments.AutoAppoint
{
    /// <summary>
    /// 时间要求
    /// </summary>
    public class TimeRequire
    {
        /// <summary>
        /// 申请项目
        /// </summary>
        public ExamApplicationDto ApplyItem { get; set; }

        /// <summary>
        /// 是否要求特殊时间段
        /// </summary>
        public bool IsTimeIntervalRequired { get; set; } = false;

        /// <summary>
        /// 开始时间
        /// </summary>
        public TimeSpan? StartTime { get; set; } = null;

        /// <summary>
        /// 结束时间
        /// </summary>
        public TimeSpan? EndTime { get; set; } = null;
    }
}
